package com.mzz.behavior.fatherandson.strategy;

/**
 * 除法运算
 *
 * @author xushijian
 * @date 18/5/16
 */
public class DivisionStrategy extends Strategy<Double, Integer, Integer> {

    @Override
    public Double algorithm(Integer a, Integer b) {
        return (double) a / b;
    }
}
